﻿<!DOCTYPE html>
<html ng-app="app">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>My App</title>  
	<meta charset="utf-8" />
    <link href="/Assets/Styles/bootstrap.css" rel="stylesheet" />
    <link href="/Assets/Styles/bootstrap-material-design.css" rel="stylesheet" />
    <link href="/Assets/Styles/ui-bootstrap-csp.css" rel="stylesheet" />
    <link href="/Assets/Styles/material-icons.css" rel="stylesheet" />
    <link href="/Assets/Styles/angular-block-ui.css" rel="stylesheet" />
    <link href="/Assets/Styles/ngDialog.css" rel="stylesheet" />
    <link href="/Assets/Styles/ngDialog-theme-default.css" rel="stylesheet" />
    <link href="/Assets/Styles/Common.css" rel="stylesheet" />
    <link href="/Assets/Styles/Styles.css" rel="stylesheet" />
    
    <script src="/Assets/Scripts/jquery-1.10.2.js"></script>
    <script src="/Assets/Scripts/respond.js"></script>
    <script src="/Assets/Scripts/material.js"></script>
    <script src="/Assets/Scripts/angular/angular.js"></script>
    <script src="/Assets/Scripts/jcs-auto-validate.js"></script>
    <script src="/Assets/Scripts/angular-pagination.js"></script>
    <script src="/Assets/Scripts/FileAPI.js"></script>
    <script src="/Assets/Scripts/ng-file-upload-all.js"></script>
    <script src="/Assets/Scripts/angular-block-ui.js"></script>
    <script src="/Assets/Scripts/ngDialog.js"></script>
    <script src="/Assets/Scripts/angular-select2.js"></script>
    <script src="/Assets/Scripts/angular/angular-route.js"></script>
    <script src="/Assets/Scripts/angular/angular-resource.js"></script>
    <script src="/Assets/Scripts/angular/angular-animate.js"></script>
    <script src="/Assets/Scripts/angular/angular-loader.js"></script>
    <script src="/Assets/Scripts/angular/angular-aria.js"></script>
    <script src="/Assets/Scripts/angular/angular-cookies.js"></script>
    <script src="/Assets/Scripts/angular/angular-message-format.js"></script>
    <script src="/Assets/Scripts/angular/angular-messages.js"></script>
    <script src="/Assets/Scripts/angular/angular-mocks.js"></script>
    <script src="/Assets/Scripts/angular/angular-sanitize.js"></script>
    <script src="/Assets/Scripts/angular/angular-scenario.js"></script>
    <script src="/Assets/Scripts/angular/angular-touch.js"></script>
    <script src="/Assets/Scripts/angular/i18n/angular-locale_en-us.js"></script>
    <script src="/Assets/Scripts/angular/ui-bootstrap.js"></script>
    <script src="/Assets/Scripts/angular/ui-bootstrap-tpls.js"></script>
    <script src="/App/app.js"></script>

    <script src="/App/Services/Interceptors/errorHandler.js"></script>
    <script src="/App/Services/Interceptors/xmlHttpInterceptor.js"></script>
    <script src="/App/Services/Account/storageHandler.js"></script>
    <script src="/App/Services/Account/tokenHandler.js"></script>
    <script src="/App/Services/Account/authService.js"></script>
    <script src="/App/Controllers/homeController.js"></script> 
</head>
<body class="login" ng-controller="homeLoginController">
    <div block-ui="appBlock" class="block-ui-main"></div>
    <div class="container body-content">
        <div class="row lg-m-top">
            <div class="col-lg-offset-3 col-lg-6">
                <div class="well bs-component">
                    <form class="form-horizontal" name="loginForm">
                        <fieldset>
                            <legend><i class="fa fa-user"></i>登陆</legend>
                            <div class="form-group" ng-show="message&&message.length>0">
                                <div class="col-lg-offset-2">
                                    <h4>
                                        <strong>
                                            {{message}}
                                        </strong>
                                    </h4>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail" class="col-xs-3 control-label">用户名：</label>
                                <div class="col-xs-9">
                                    <input type="text" class="form-control" id="inputEmail" name="UserName" placeholder="User Name" ng-model="loginData.userName" required>
                                    <p ng-show="loginForm.UserName.$invalid && !loginForm.UserName.$pristine" class="help-block"> Please enter your email (format, e.g. email@email.com)</p>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputPassword" class="col-xs-3 control-label">密码：</label>
                                <div class="col-xs-9">
                                    <input type="password" class="form-control" id="inputPassword" name="password" placeholder="Password" ng-model="loginData.password" required ng-minlength="6">
                                    <p ng-show="loginForm.password.$invalid && !loginForm.password.$pristine" class="help-block"> Please enter your password</p>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-xs-4"></div>
                                <div class="col-xs-8">
                                    <button type="submit" class="btn btn-raised btn-primary" ng-click="login()">登陆</button>
                                </div>
                            </div>
                        </fieldset>
                    </form>
                </div>
            </div>
        </div>
        <hr />
        <app-copyriths></app-copyriths>
    </div>
</body>
</html>
